<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:LogInModule.Views">


    <Style TargetType="local:SlideshowControl">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="local:SlideshowControl">
                    <Border Background="{TemplateBinding Background}"
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}">
                        <Grid>
                            <local:TransitionContentControl Content="{TemplateBinding SelectedItem}" 
                                                            TransitionStyle="{TemplateBinding TransitionStyle}" />
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style TargetType="local:TransitionContentControl">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="local:TransitionContentControl">
                    <Border Background="{TemplateBinding Background}"
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}">
                        <Grid x:Name="Grid"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>
